package com.only4play.auth;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class AuthenticatedUser<T> {
    private String username;
    private String userId;
    private T properties;

    public AuthenticatedUser(String username, String userId) {
        this.username = username;
        this.userId = userId;
    }
}
